import request from "@/utils/request"

// 获取列表
export const listOsiProject = (params = {}) => { return request.get('/business/inspectionProject/list', { params }) }
// 获取详情
export const getOsiProjectById = (params) => { return request.get(`/business/inspectionProject/${params}`) }
// 删除
export const deleteOsiProject = (params) => { return request.delete('/business/inspectionProject', { data: params }) }
// 修改
export const updateOsiProject = (params = {}) => { return request.put(`/business/inspectionProject`, params) }
// 新增
export const addOsiProject = (params = {}) => { return request.post('/business/inspectionProject', params) }
// 获取详情
export const generaProjectQrcode = (params) => { return request.get(`/business/inspectionProject/generateQrCode`, { params: params }) }